package com.jvyou.app.common.constants;

import com.jvyou.app.common.enums.HttpCodeEnum;
import com.jvyou.app.common.exception.AppException;

/**
 * 用户类型，见字典`user-type`
 *
 * @author 橘柚
 * @since 2025/3/9 22:07
 */
public class UserTypes {

    // 送水工
    public static final String WATER_DELIVERY_WORKER = "1";
    // 区域经理
    public static final String REGIONAL_MANAGER = "2";
    // 仓库管理员
    public static final String WAREHOUSE_MANAGER = "3";
    // 业务员
    public static final String SALESMAN = "4";
    // 客户
    public static final String CUSTOMER = "5";

    private UserTypes() {
        throw new AppException(HttpCodeEnum.SYSTEM_ERROR, "This is a utility class and cannot be instantiated："+"com.yomsun.app.common.constants.UserTypes");
    }


}
